# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=uatester
pkgver=1.06
pkgrel=8
groups=('blackarch' 'blackarch-misc' 'blackarch-webapp')
pkgdesc='User Agent String Tester.'
url='http://code.google.com/p/ua-tester/'
arch=('any')
license=('BSD')
depends=('python2')
source=("http://ua-tester.googlecode.com/files/UAtester_$pkgver.py")
sha512sums=('bda83dc0545c7ac66260e4f5ee911a02382022db')

prepare() {
  sed -i 's/python/python2/' "UAtester_$pkgver.py"
}

package() {
  install -Dm 755 "UAtester_$pkgver.py" "$pkgdir/usr/bin/$pkgname"
}

